﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace proj1
{
    class item
    {
        private decimal price;
        private int quantity;
        private decimal extended;

        public item(decimal prc)
        {
            price = prc;
            quantity = 0;
            extended = 0.0m;
        }

        public decimal get_price()
        {
            return price;
        }
        public void set_quantity(int qu)
        {
            quantity = qu;
        }
        public int get_quantity()
        {
            return quantity;
        }
        public void set_extended(decimal ext)
        {
            extended = ext;
        }
        public decimal get_extended()
        {
            return extended;
        }

    }
}
